package com.xjrsoft.module.customerTwo.barin.t_barin_user_registration.service;

import com.xjrsoft.module.customerTwo.barin.t_barin_user_registration.entity.TBarinUser;
import com.xjrsoft.module.customerTwo.barin.t_barin_user_registration.dto.XjrBaseUserListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 用户信息表 服务类
 *
 * @author dongxinhang
 * @since 2024-04-26
 */
public interface ITBarinUserService extends IService<TBarinUser> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<TBarinUser> getPageList(XjrBaseUserListDto pageListDto);
	String addXjrBaseUser(TBarinUser TBarinUser);

	boolean updateXjrBaseUser(String id, TBarinUser TBarinUser);

	boolean delete(String ids);

	void checkUser(String account, String mobile, String userId);

	TBarinUser getUserByAccountAndTelephone(String account, String telephone);
}
